home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2620 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 63 72 67 77 32 2e 6e | 63 72 2e 63 6f 6d 21 6e |ncrgw2.n|cr.com!n|
|00000030| 63 72 68 75 62 32 21 61 | 74 74 61 74 6c 21 6e 65 |crhub2!a|ttatl!ne|
|00000040| 77 73 0a 46 72 6f 6d 3a | 20 52 61 6d 61 6e 20 41 |ws.From:| Raman A|
|00000050| 64 6c 61 6b 68 61 20 3c | 72 61 64 6c 61 6b 68 40 |dlakha <|radlakh@|
|00000060| 52 50 53 50 4f 33 2e 41 | 74 6c 61 6e 74 61 47 41 |RPSPO3.A|tlantaGA|
|00000070| 2e 41 54 54 47 49 53 2e | 43 4f 4d 3e 0a 53 75 62 |.ATTGIS.|COM>.Sub|
|00000080| 6a 65 63 74 3a 20 52 65 | 3a 20 56 69 73 75 61 6c |ject: Re|: Visual|
|00000090| 20 43 20 34 2e 30 20 43 | 42 69 74 6d 61 70 42 75 | C 4.0 C|BitmapBu|
|000000a0| 74 74 6f 6e 20 50 72 6f | 62 6c 65 6d 20 2d 20 50 |tton Pro|blem - P|
|000000b0| 6c 65 61 73 65 20 48 65 | 6c 70 0a 53 65 6e 64 65 |lease He|lp.Sende|
|000000c0| 72 3a 20 6e 65 77 73 40 | 61 74 74 61 74 6c 2e 41 |r: news@|attatl.A|
|000000d0| 74 6c 61 6e 74 61 47 41 | 2e 4e 43 52 2e 43 4f 4d |tlantaGA|.NCR.COM|
|000000e0| 20 28 6e 6e 74 70 20 6e | 65 74 77 6f 72 6b 20 6e | (nntp n|etwork n|
|000000f0| 65 77 73 20 73 65 72 76 | 69 63 65 29 0a 4d 65 73 |ews serv|ice).Mes|
|00000100| 73 61 67 65 2d 49 44 3a | 20 3c 33 30 46 45 39 33 |sage-ID:| <30FE93|
|00000110| 34 33 2e 31 44 35 46 40 | 52 50 53 50 4f 33 2e 41 |43.1D5F@|RPSPO3.A|
|00000120| 74 6c 61 6e 74 61 47 41 | 2e 41 54 54 47 49 53 2e |tlantaGA|.ATTGIS.|
|00000130| 43 4f 4d 3e 0a 43 63 3a | 20 72 61 64 6c 61 6b 68 |COM>.Cc:| radlakh|
|00000140| 40 52 50 53 50 4f 33 2e | 41 74 6c 61 6e 74 61 47 |@RPSPO3.|AtlantaG|
|00000150| 41 2e 41 54 54 47 49 53 | 2e 43 4f 4d 0a 44 61 74 |A.ATTGIS|.COM.Dat|
|00000160| 65 3a 20 54 68 75 2c 20 | 31 38 20 4a 61 6e 20 31 |e: Thu, |18 Jan 1|
|00000170| 39 39 36 20 31 38 3a 33 | 36 3a 35 31 20 47 4d 54 |996 18:3|6:51 GMT|
|00000180| 0a 54 6f 3a 20 22 4a 61 | 6d 65 73 20 52 2e 20 50 |.To: "Ja|mes R. P|
|00000190| 61 6c 6d 65 72 22 20 3c | 6a 72 70 61 6c 6d 65 72 |almer" <|jrpalmer|
|000001a0| 40 70 72 69 6d 65 6e 65 | 74 2e 63 6f 6d 3e 0a 43 |@primene|t.com>.C|
|000001b0| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|000001c0| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 43 |Encoding|: 7bit.C|
|000001d0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|000001e0| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|000001f0| 3d 75 73 2d 61 73 63 69 | 69 0a 52 65 66 65 72 65 |=us-asci|i.Refere|
|00000200| 6e 63 65 73 3a 20 3c 34 | 64 6b 6b 36 65 24 32 6e |nces: <4|dkk6e$2n|
|00000210| 32 40 6e 6e 72 70 31 2e | 6e 65 77 73 2e 70 72 69 |2@nnrp1.|news.pri|
|00000220| 6d 65 6e 65 74 2e 63 6f | 6d 3e 0a 4e 6e 74 70 2d |menet.co|m>.Nntp-|
|00000230| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 31 35 |Posting-|Host: 15|
|00000240| 33 2e 37 36 2e 39 30 2e | 32 34 36 0a 4d 69 6d 65 |3.76.90.|246.Mime|
|00000250| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 58 2d |-Version|: 1.0.X-|
|00000260| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|00000270| 32 2e 30 62 35 20 28 57 | 69 6e 4e 54 3b 20 49 29 |2.0b5 (W|inNT; I)|
|00000280| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 41 |.Organiz|ation: A|
|00000290| 54 26 54 0a 0a 4a 61 6d | 65 73 20 52 2e 20 50 61 |T&T..Jam|es R. Pa|
|000002a0| 6c 6d 65 72 20 77 72 6f | 74 65 3a 0a 3e 20 0a 3e |lmer wro|te:.> .>|
|000002b0| 20 49 66 20 61 6e 79 6f | 6e 65 20 63 61 6e 20 68 | If anyo|ne can h|
|000002c0| 65 6c 70 2c 20 49 20 73 | 75 72 65 20 77 6f 75 6c |elp, I s|ure woul|
|000002d0| 64 20 61 70 70 72 65 63 | 69 61 74 65 20 69 74 2e |d apprec|iate it.|
|000002e0| 0a 3e 20 0a 3e 20 49 20 | 61 6d 20 6e 65 77 20 74 |.> .> I |am new t|
|000002f0| 6f 20 74 68 65 20 4d 53 | 56 43 2b 2b 20 70 72 6f |o the MS|VC++ pro|
|00000300| 67 72 61 6d 6d 69 6e 67 | 20 65 6e 76 69 72 6f 6e |gramming| environ|
|00000310| 6d 65 6e 74 20 61 6e 64 | 20 49 20 61 6d 20 74 72 |ment and| I am tr|
|00000320| 79 69 6e 67 20 74 6f 20 | 6d 61 6b 65 20 61 0a 3e |ying to |make a.>|
|00000330| 20 62 75 74 74 6f 6e 20 | 6f 6e 20 61 20 64 69 61 | button |on a dia|
|00000340| 6c 6f 67 20 62 6f 78 20 | 64 69 73 70 6c 61 79 20 |log box |display |
|00000350| 61 20 62 69 74 6d 61 70 | 2e 20 20 49 20 62 65 6c |a bitmap|. I bel|
|00000360| 69 65 76 65 20 74 68 61 | 74 20 49 20 68 61 76 65 |ieve tha|t I have|
|00000370| 20 66 6f 6c 6c 6f 77 65 | 64 20 74 68 65 0a 3e 20 | followe|d the.> |
|00000380| 64 69 72 65 63 74 69 6f | 6e 73 20 63 6f 72 72 65 |directio|ns corre|
|00000390| 63 74 6c 79 20 69 6e 20 | 74 68 65 20 6d 61 6e 75 |ctly in |the manu|
|000003a0| 61 6c 20 69 6e 20 74 68 | 61 74 20 74 68 65 20 62 |al in th|at the b|
|000003b0| 75 74 74 6f 6e 20 63 61 | 70 74 69 6f 6e 20 69 73 |utton ca|ption is|
|000003c0| 20 52 45 44 42 55 54 54 | 4f 4e 20 61 6e 64 0a 3e | REDBUTT|ON and.>|
|000003d0| 20 74 68 65 20 62 69 74 | 6d 61 70 73 20 74 68 61 | the bit|maps tha|
|000003e0| 74 20 77 65 72 65 20 61 | 6c 73 6f 20 63 72 65 61 |t were a|lso crea|
|000003f0| 74 65 64 20 69 6e 20 22 | 52 65 73 6f 75 72 63 65 |ted in "|Resource|
|00000400| 56 69 65 77 22 20 77 65 | 72 65 20 6e 61 6d 65 64 |View" we|re named|
|00000410| 20 77 69 74 68 20 69 64 | 73 20 6f 66 0a 3e 20 52 | with id|s of.> R|
|00000420| 45 44 42 55 54 54 4f 4e | 55 2c 20 52 45 44 42 55 |EDBUTTON|U, REDBU|
|00000430| 54 54 4f 4e 44 2c 20 52 | 45 44 42 55 54 54 4f 4e |TTOND, R|EDBUTTON|
|00000440| 46 2c 20 52 45 44 42 55 | 54 54 4f 4e 58 2e 20 20 |F, REDBU|TTONX. |
|00000450| 49 20 61 6c 73 6f 20 74 | 72 69 65 64 20 69 74 20 |I also t|ried it |
|00000460| 77 69 74 68 20 6e 61 6d | 65 73 20 6f 66 0a 3e 20 |with nam|es of.> |
|00000470| 22 52 45 44 3c 4c 3e 22 | 2e 0a 3e 20 0a 3e 20 54 |"RED<L>"|..> .> T|
|00000480| 68 65 20 70 72 6f 62 6c | 65 6d 20 77 61 73 20 74 |he probl|em was t|
|00000490| 68 61 74 20 74 68 65 20 | 22 41 75 74 6f 4c 6f 61 |hat the |"AutoLoa|
|000004a0| 64 22 20 66 75 6e 63 74 | 69 6f 6e 20 77 69 74 68 |d" funct|ion with|
|000004b0| 69 6e 20 74 68 65 20 43 | 42 69 74 6d 61 70 42 75 |in the C|BitmapBu|
|000004c0| 74 74 6f 6e 20 77 61 73 | 0a 3e 20 66 61 69 6c 69 |tton was|.> faili|
|000004d0| 6e 67 2e 20 20 55 70 6f | 6e 20 75 73 69 6e 67 20 |ng. Upo|n using |
|000004e0| 74 68 65 20 64 65 62 75 | 67 67 65 72 2c 20 49 20 |the debu|gger, I |
|000004f0| 66 6f 75 6e 64 20 74 68 | 61 74 20 74 68 65 20 69 |found th|at the i|
|00000500| 6e 74 65 72 6e 61 6c 20 | 4d 46 43 20 72 6f 75 74 |nternal |MFC rout|
|00000510| 69 6e 65 20 77 61 73 0a | 3e 20 63 6f 72 72 65 63 |ine was.|> correc|
|00000520| 74 6c 79 20 6c 6f 6f 6b | 69 6e 67 20 66 6f 72 20 |tly look|ing for |
|00000530| 22 52 45 44 42 55 54 54 | 4f 4e 55 22 2c 20 62 75 |"REDBUTT|ONU", bu|
|00000540| 74 20 77 61 73 20 75 6e | 61 62 6c 65 20 74 6f 20 |t was un|able to |
|00000550| 66 69 6e 64 20 69 74 20 | 77 69 74 68 69 6e 20 74 |find it |within t|
|00000560| 68 65 20 2e 45 58 45 2e | 0a 3e 20 0a 3e 20 4d 79 |he .EXE.|.> .> My|
|00000570| 20 66 69 72 73 74 20 67 | 75 65 73 73 20 69 73 20 | first g|uess is |
|00000580| 74 68 61 74 20 49 20 6d | 61 79 20 6e 65 65 64 20 |that I m|ay need |
|00000590| 74 6f 20 63 6f 6e 66 69 | 67 75 72 65 20 56 43 2b |to confi|gure VC+|
|000005a0| 2b 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 74 68 65 |+ to inc|lude the|
|000005b0| 20 72 65 73 6f 75 72 63 | 65 73 0a 3e 20 69 6e 74 | resourc|es.> int|
|000005c0| 6f 20 74 68 65 20 70 72 | 6f 6a 65 63 74 20 69 6e |o the pr|oject in|
|000005d0| 20 73 6f 6d 65 20 77 61 | 79 20 28 41 70 70 57 69 | some wa|y (AppWi|
|000005e0| 7a 61 72 64 20 64 69 64 | 20 63 72 65 61 74 65 20 |zard did| create |
|000005f0| 74 68 65 20 73 74 61 72 | 74 20 75 70 20 61 70 70 |the star|t up app|
|00000600| 6c 69 63 61 74 69 6f 6e | 29 2e 0a 3e 20 4f 72 20 |lication|)..> Or |
|00000610| 69 73 20 74 68 65 72 65 | 20 73 6f 6d 65 20 6f 74 |is there| some ot|
|00000620| 68 65 72 20 6f 62 76 69 | 6f 75 73 20 70 72 6f 62 |her obvi|ous prob|
|00000630| 6c 65 6d 20 74 68 61 74 | 20 49 20 68 61 76 65 20 |lem that| I have |
|00000640| 6f 76 65 72 6c 6f 6f 6b | 65 64 3f 0a 0a 0a 49 20 |overlook|ed?...I |
|00000650| 72 65 6d 65 6d 62 65 72 | 20 72 75 6e 6e 69 6e 67 |remember| running|
|00000660| 20 69 6e 74 6f 20 73 69 | 6d 69 6c 61 72 20 70 72 | into si|milar pr|
|00000670| 6f 62 6c 65 6d 20 77 68 | 65 6e 20 49 20 73 74 61 |oblem wh|en I sta|
|00000680| 72 74 65 64 20 63 6f 64 | 69 6e 67 20 77 69 74 68 |rted cod|ing with|
|00000690| 0a 4d 53 56 43 2e 0a 57 | 68 61 74 20 49 20 64 69 |.MSVC..W|hat I di|
|000006a0| 64 20 77 72 6f 6e 67 20 | 77 61 73 20 74 68 61 74 |d wrong |was that|
|000006b0| 20 69 6e 20 74 68 65 20 | 0a 0a 52 65 73 6f 75 72 | in the |..Resour|
|000006c0| 63 65 20 45 64 69 74 6f | 72 2f 42 69 74 6d 61 70 |ce Edito|r/Bitmap|
|000006d0| 20 50 72 6f 70 65 72 74 | 69 65 73 2f 49 44 3a 20 | Propert|ies/ID: |
|000006e0| 49 20 65 6e 74 65 72 65 | 64 20 52 45 44 42 55 54 |I entere|d REDBUT|
|000006f0| 54 4f 4e 55 20 65 74 63 | 20 0a 77 69 74 68 6f 75 |TONU etc| .withou|
|00000700| 74 20 64 6f 75 62 6c 65 | 20 71 75 6f 74 65 73 20 |t double| quotes |
|00000710| 61 72 6f 75 6e 64 20 69 | 74 2e 20 41 73 20 61 20 |around i|t. As a |
|00000720| 72 65 73 75 6c 74 20 52 | 43 20 65 64 69 74 6f 72 |result R|C editor|
|00000730| 27 73 20 73 79 6d 62 6f | 6c 20 0a 6d 61 6e 61 67 |'s symbo|l .manag|
|00000740| 65 6d 65 6e 74 20 6d 61 | 64 65 20 23 64 65 66 69 |ement ma|de #defi|
|00000750| 6e 65 20 65 6e 74 72 69 | 65 73 20 69 6e 20 72 65 |ne entri|es in re|
|00000760| 73 6f 75 72 63 65 2e 68 | 20 57 68 69 63 68 20 77 |source.h| Which w|
|00000770| 61 73 20 74 68 65 20 63 | 61 75 73 65 0a 6f 66 20 |as the c|ause.of |
|00000780| 61 6c 6c 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 73 |all the |problems|
|00000790| 2e 0a 0a 53 6f 20 69 66 | 20 79 6f 75 20 68 61 76 |...So if| you hav|
|000007a0| 65 20 64 6f 6e 65 20 73 | 61 6d 65 20 6d 69 73 74 |e done s|ame mist|
|000007b0| 61 6b 65 20 79 6f 75 20 | 77 69 6c 6c 20 6f 62 73 |ake you |will obs|
|000007c0| 65 72 76 65 20 74 68 61 | 74 20 63 6f 6d 69 6e 67 |erve tha|t coming|
|000007d0| 0a 75 70 20 77 69 74 68 | 20 65 6e 74 69 72 65 6c |.up with| entirel|
|000007e0| 79 20 6e 65 77 20 6e 61 | 6d 65 73 20 66 6f 72 20 |y new na|mes for |
|000007f0| 62 75 74 74 6f 6e 20 63 | 61 70 74 69 6f 6e 20 77 |button c|aption w|
|00000800| 69 6c 6c 20 77 6f 72 6b | 21 0a 0a 53 6f 20 6c 6f |ill work|!..So lo|
|00000810| 6f 6b 20 69 6e 20 72 65 | 73 6f 75 72 63 65 2e 68 |ok in re|source.h|
|00000820| 20 61 6e 64 20 72 65 6d | 6f 76 65 20 74 68 65 20 | and rem|ove the |
|00000830| 23 64 65 66 69 6e 65 28 | 73 29 20 66 6f 72 20 52 |#define(|s) for R|
|00000840| 45 44 42 55 54 54 4f 4e | 55 20 65 74 63 2e 0a 0a |EDBUTTON|U etc...|
|00000850| 49 66 20 69 74 20 77 6f | 72 6b 73 20 74 68 65 6e |If it wo|rks then|
|00000860| 20 72 65 6d 65 6d 62 65 | 72 20 74 68 61 74 20 6f | remembe|r that o|
|00000870| 6e 65 20 77 61 79 20 74 | 6f 20 6c 65 61 72 6e 20 |ne way t|o learn |
|00000880| 69 73 20 66 72 6f 6d 20 | 6f 74 68 65 72 73 27 20 |is from |others' |
|00000890| 0a 6d 69 73 74 61 6b 65 | 73 21 0a 0a 62 79 65 0a |.mistake|s!..bye.|
|000008a0| 41 2e 20 52 61 6d 61 6e | 0a |A. Raman|. |
+--------+-------------------------+-------------------------+--------+--------+